]> dgit.raspbian.org Git - gnome-shell.git/commit
dbusServices/screencast: Handle pipeline failures gracefully
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 9 Jun 2021 14:42:52 +0000 (16:42 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 9 Jun 2021 15:21:35 +0000 (15:21 +0000)
commitdc0491ade86a63e598da5fd0319f89c7c53b4e18
tree4fa45c04922a393630b728bbafbb27ed99eac3e3
parentbed0f43967eaddb151b544c609a6f091f8aaaf33
dbusServices/screencast: Handle pipeline failures gracefully

If parsing the pipeline fails for some reason, we currently end up
with a zombie session that leads to a stuck recording indicator in
gnome-shell.

Instead, properly tear down the session to allow mutter and gnome-shell
to correctly update their state.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1878>
js/dbusServices/screencast/screencastService.js